//用于存放用户常用的工具类
import { v4 as uuidv4 } from 'uuid';
// uuidv4();
export function  getUserTempId(){
    let userTempId = localStorage.getItem("USER_TEMP_ID");
    if(!userTempId){
        localStorage.setItem("USER_TEMP_ID",uuidv4());
        console.log("USER_TEMP_ID重新生成了")
    }
    userTempId = localStorage.getItem("USER_TEMP_ID");
    return userTempId;
}